package com.itlaoqi.springcloud.memberserviceopenfeign.client.fallback;

import com.itlaoqi.springcloud.memberserviceopenfeign.client.MessageService;
import com.itlaoqi.springcloud.memberserviceopenfeign.entity.CallbackResult;
import org.springframework.stereotype.Component;

@Component
public class MessageServiceFallback implements MessageService {
    @Override
    public CallbackResult sendSMS(String mobile, String message) {
        return new CallbackResult("INVALID_SERVICE","消息服务暂时无法使用，短信发送失败");
    }
}
